pp108 : Logging Configuration Interface

Logging Configuration Interface

This topic describes the Logging configuration interface.

Fields

Description

Enable Logging

This option allows you to enable the log categories and severities.

Enable System Policy

This option disables all the log categories and severities, because the system-level configuration is applied. On selecting this option, theLog4jConfiguration.xmlfile in the <Process_Platform_Installation_Directory> is applied to a particular Service.

Root Severity

Turns the log option on for all the severity levels, including those that are not listed on the screen. The severity levels selected here would apply to all the categories.

Tip: Enabling the lowest severity level automatically enables the remaining severity levels. However, enabling or selecting the highest severity level enables only that severity.

Category-wise Severities

Sets the severity for a specific category. If the Root Severity is selected, then automatically it turns the Category-wise Severities option on for all the categories.

Logger Consumers


Note: This option is enabled only when the Enable System Policy option is not selected.Process Platform supports various kinds of log consumers, including those from Log4j for consuming log messages. One or more consumers can be selected for publishing messages. The appropriate log consumer must be selected during the Service configuration. The following are the available options.

  • Publish to File - The log messages are written to the file specified during log configuration. The default path for this file is Process Platform Installation Directory\Logs\<filename>.xml. In the absence of any file name specification, log messages are published to the console.
    Note: Use a double-slash for folder path specification, for example, <Drive>:folder1
    testlog.txt
    .
    • Do not roll - Select this option if you do not want to roll a file.
    • Roll File every- Rolls over files based on the user defined time intervals, which can be monthly, weekly, daily, hourly, and even for every minute.
    • Roll File for every- Writes the logs to file. When the log file exceeds a specified file size, it is rolled over with a filename.n. Here, 'n' is the number of times the file has exceeded the specified size.
  • Publish to Remote Host - Publishes the log messages to the specified remote host. You must specify the Host Name and Port Number.
  • Publish to OS-based event log - Publishes log messages to either the Windows Event Log for Windows OS or Syslog with facility LOCAL7 for Linux OS.



Note:

  • If a severity option is selected under both Root Severities and Category-wise Severities, the option selected under Category-wise Severities takes precedence.
  • For a Linux installation, the user must have the read and write permissions on the Process Platform installation directory to publish the alerts and log statements to the file. In case the file name contains folders, requisite permissions must be assigned to the folders.

Related concepts

Simple Object Access Protocol

Related tasks

Creating a Service Container
Modifying a Service Container
Creating a Service Group
Modifying Service Group Configuration

Related reference

OS Process Configuration Interface
Service Container Properties Interface
Connection Point Configuration Interface
Service Container Details

Related information

Configuring OS Processes for a Service Container